WSAL\Controllers\Connection C

Total Complexity 105
Dependencies 10
Dependents 10
Total lines 882
Lines of code 416
Logical lines of code 234
Comment lines 364
Methods 37
Properties 5

Methods 37

Method Rating Maintainability Complexity Lines of code
test_connection()
A
46 10 37
save_mirror()
A
47 10 36
get_archive_database_connection()
S
54 6 23
create_connection()
S
55 5 21
is_writing_directly()
S
62 5 11
load_connection_config()
S
61 5 11
get_config()
S
60 4 14
save_connection()
S
61 4 12
get_mirrors_by_connection_name()
S
61 4 12
delete_connection()
S
57 3 17
check_config()
S
63 4 10
get_mirror_types()
S
58 3 15
build_connection()
S
60 3 12
archive()
S
62 3 11
truncate_key()
S
63 3 11
remove_archiving_config()
S
58 2 17
archiving_alerts()
S
58 2 15
get_mirror()
S
65 3 8
set_archiving_cron_started()
S
69 2 7
update_connection_as_external()
S
63 2 10
remove_external_storage_config()
S
65 2 9
set_archiving_enabled()
S
69 2 7
get_openssl_iv()
S
65 2 9
is_external()
S
74 2 4
display_notice_if_connection_not_available()
S
65 2 10
encrypt_string()
S
62 1 11
disable_archive_mode()
S
80 1 3
recreate_tables()
S
77 1 4
migrate_back_occurrence()
S
67 1 8
migrate_occurrence()
S
68 1 7
close_connection()
S
76 1 4
delete_mirror()
S
65 1 10
destroy_connection()
S
80 1 3
decrypt_string()
S
65 1 8
get_connection()
S
79 1 3
enable_archive_mode()
S
80 1 3
is_archive_mode()
S
80 1 3